<?php $this->load->view('_inc/header_popup')?>

<h1>Novo Hospital</h1>
<?php echo form_open('hospital/cadastrandoHospital')?>
<table>
    <tr>
        <td>
            <?php echo form_label('Nome:')?>
            <?php echo form_input('hospital','','autofocus class=required')?>
        </td>
    </tr>
    <tr>
        <td>
            <?php echo form_label('Telefone:')?>
            <?php echo form_input('telefone','','class=required id=itel')?>
        </td>
    </tr>
    <tr><td><?php echo form_label('Site:'); echo form_input('site','','id=itel'); ?></td></tr>
    <tr>
        <td>
            <?php echo form_label('Tipo:')?>
            <?php echo form_dropdown('tipo',$tipos,'','class=required')?>
        </td>
    </tr>
    <tr>
        <td>
            <?php echo form_label('Cidade:')?>
            <?php echo form_dropdown('cidade',$cidades,'','class=required')?>
        </td>
    </tr>
    <tr>
        <td>
            <?php echo form_label('Endereço:')?><br>
            <?php echo form_textarea('endereco','','class=required')?>
        </td>
    </tr>
    <tr>
        <td>
            <?php echo form_submit('','Salvar')?>
            <?php echo form_button('','Cancelar','class=cancela')?>
        </td>
    </tr>
</table>
<?php echo form_close()?>